
package com.wechat.page.api;

import java.util.concurrent.CompletableFuture;

import org.springframework.stereotype.Service;

import com.swak.annotation.FluxDepend;
import com.wechat.dto.ContactDTO;
import com.wechat.service.SubjectServiceAsync;

/**
 * SubjectApi.
 * 
 * @author DELL
 */
@Service
public class SubjectApi {

	@FluxDepend
	private SubjectServiceAsync subjectService;

	public CompletableFuture<ContactDTO> me() {
		return subjectService.me();
	}

	public CompletableFuture<ContactDTO> contact(String contactID) {
		return subjectService.contact(contactID);
	}
}